<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
    <style>
        body {
            background: #f2f2f2
        }

        .info {
            background: #fff;
            width: 100%;
            padding: 0 .6rem
        }

        .left {
            width: 2.5rem;
            margin-right: .6rem
        }

        .btn {
            margin: 1.2rem .6rem 0 .6rem;
            width: calc(100% - 1.2rem)
        }

        .dun {
            position: absolute;
            bottom: .6rem;
            left: 0;
            right: 0;
        }
        .bg-grey-text{
          padding: .4rem 0  0 .6rem;
        }
    </style>
</head>

<body>
    <div id="app">
        <section>
            <div class='font-12 text-color-9 bg-grey-text' style="height:1.65rem">实名认证</div>
            <div class="font-14 text-color-3 info">
                <div class="height-50 flex-align-center">
                    <div class="left">
                        姓名
                    </div>
                    <input type="text" name="" value="" placeholder='真实名字'>
                </div>
                <div class="height-50 flex-align-center">
                    <div class="left">
                        身份证
                    </div>
                    <input type="text" name="" value="" placeholder='身份证号码'>
                </div>
            </div>
            <div class='font-12 text-color-9 bg-grey-text' style="height:2.25rem;padding-top:1rem">实名认证人的银行卡</div>
            <div class="font-14 text-color-3 info">
                <div class="height-50 flex-align-center">
                    <div class="left">
                        卡号
                    </div>
                    <div>1111222233344455566688</div>
                </div>
                <div class="height-50 flex-center-between">
                    <div class="flex-align-center">
                        <div class="left">
                            银行
                        </div>
                        <span>中国银行</span>
                    </div>
                    <img class='grey-right' src="../../image/common/grey-right.png" alt="">
                </div>
                <div class="height-50 flex-center-between">
                    <div class="flex-align-center">
                        <div class="left">
                            卡类型
                        </div>
                        <span>储蓄卡</span>
                    </div>
                    <img class='grey-right' src="../../image/common/grey-right.png" alt="">
                </div>
                <div class="height-50 flex-align-center">
                    <div class="left">
                        手机号
                    </div>
                    <div>1324657897</div>
                </div>
            </div>
            <div class='font-12 text-color-9 bg-grey-text' style="height:1.65rem">信息加密处理，仅用于签约验证。</div>
            <button class='red-btn btn' @click='toSignCertification'>签约验证</button>
        </section>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript " src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js "></script>
<script type="text/javascript">
    var vm = new Vue({
        el: '#app',
        data: {

        },
        methods: {
          toSignCertification:function(){
            api.openFrame({
                name: 'sign-certification_win',
                url: './sign-certification_win.html',
                rect: {
                    x: 0,
                    y: 0,
                    w: 320,
                    h: 480
                },
                pageParam: {
                    name: 'test'
                },
                bounces: true,
                bgColor: 'rgba(0,0,0,0)',
                vScrollBarEnabled: true,
                hScrollBarEnabled: true
            });

          }

        }
    });
    apiready = function() {
        api.parseTapmode();
    };
</script>

</html>
